package com.jumi.microservice.dto.finance.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by mazhao
 * @Classname GoodsDetailResponse
 * @Description TODO
 * @Date 2020/9/16 16:10
 */
@ColumnWidth(15)
public class GoodsDetailExcel implements Serializable {

    @ExcelProperty("商品名称")
    private String goodsName;
    @ExcelProperty("物料名称")
    private String materialsName = "";
    @ExcelProperty("物料数量")
    private Integer materialsAmount = 0;
    @ExcelProperty("供应商或仓库")
    private String supplierName;
    @ExcelProperty("订单编号")
    private String orderNo;
    @ExcelProperty("下单时间")
    private Date createTime;
    @ExcelProperty("商品状态")
    private String goodsStatus;
    @ExcelProperty("商品价格（单价）")
    private BigDecimal goodsPromotionPrice;
    @ExcelProperty("商品数量")
    private Integer goodsAmount;
    @ExcelProperty("实付金额( 单价 * 数量 + 运费)")
    private BigDecimal realPayPrice;
    @ExcelProperty("售后状态")
    private String afterSealStatus;
    @ExcelProperty("售后数量")
    private Integer afterSealAmount;
    @ExcelProperty("成本费")
    private BigDecimal goodsCostPrice;
    @ExcelProperty("推广费")
    private BigDecimal goodsSpreadPrice;
    @ExcelProperty("服务费")
    private BigDecimal goodsServicePrice;

    public Integer getAfterSealAmount() {
        return afterSealAmount;
    }

    public void setAfterSealAmount(Integer afterSealAmount) {
        this.afterSealAmount = afterSealAmount;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getAfterSealStatus() {
        return afterSealStatus;
    }

    public void setAfterSealStatus(String afterSealStatus) {
        this.afterSealStatus = afterSealStatus;
    }

    public BigDecimal getGoodsPromotionPrice() {
        return goodsPromotionPrice;
    }

    public void setGoodsPromotionPrice(BigDecimal goodsPromotionPrice) {
        this.goodsPromotionPrice = goodsPromotionPrice;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public Integer getMaterialsAmount() {
        return materialsAmount;
    }

    public void setMaterialsAmount(Integer materialsAmount) {
        this.materialsAmount = materialsAmount;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(String goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Integer getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Integer goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public BigDecimal getRealPayPrice() {
        return realPayPrice;
    }

    public void setRealPayPrice(BigDecimal realPayPrice) {
        this.realPayPrice = realPayPrice;
    }

    public BigDecimal getGoodsCostPrice() {
        return goodsCostPrice;
    }

    public void setGoodsCostPrice(BigDecimal goodsCostPrice) {
        this.goodsCostPrice = goodsCostPrice;
    }

    public BigDecimal getGoodsSpreadPrice() {
        return goodsSpreadPrice;
    }

    public void setGoodsSpreadPrice(BigDecimal goodsSpreadPrice) {
        this.goodsSpreadPrice = goodsSpreadPrice;
    }

    public BigDecimal getGoodsServicePrice() {
        return goodsServicePrice;
    }

    public void setGoodsServicePrice(BigDecimal goodsServicePrice) {
        this.goodsServicePrice = goodsServicePrice;
    }
}
